home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frm3_5_2
- Caption = "3-5-2"
- ClientHeight = 1365
- ClientLeft = 1095
- ClientTop = 1485
- ClientWidth = 2475
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- LinkTopic = "Form1"
- PaletteMode = 1 'UseZOrder
- ScaleHeight = 1365
- ScaleWidth = 2475
- Begin VB.CommandButton cmdCompute
- Caption = "Compute Pay"
- Default = -1 'True
- Height = 495
- Left = 480
- TabIndex = 1
- Top = 720
- Width = 1455
- End
- Begin VB.PictureBox picPay
- Height = 495
- Left = 120
- ScaleHeight = 435
- ScaleWidth = 2235
- TabIndex = 0
- Top = 120
- Width = 2295
- End
- Attribute VB_Name = "frm3_5_2"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdCompute_Click()
- Dim nom As String, wage As Single, hrs As Single
- picPay.Cls
- Open App.Path & "\STAFF.TXT" For Input As #1
- Input #1, nom, wage, hrs
- picPay.Print nom; hrs * wage
- Input #1, nom, wage, hrs
- picPay.Print nom; hrs * wage
- Close #1
- End Sub
-